cmake_minimum_required(VERSION 2.6)
project(p2w)

find_package(OpenCV REQUIRED)

include_directories(${OpenCV_INCLUDE_DIRS})
link_libraries(${OpenCV_LIBRARY_DIRS})

add_executable(p2w main.cpp)
target_link_libraries(p2w ${OpenCV_LIBS})

install(TARGETS p2w RUNTIME DESTINATION bin)
